import 'core-js/modules/es.object.to-string';
import 'core-js/modules/es.promise';
import 'core-js/modules/web.timers';


import '../css/a.css';
import '../css/b.css'; // import '@babel/polyfill'

const add = function add(x, y) {
  return x + y;
}; // eslint-disable-next-line


console.log(add(2, 5));
const p = new Promise(((resolve) => {
  setTimeout(() => {
    console.log('定时器执行完成');
    resolve();
  }, 1000);
}));
console.log(p);
